.w-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: 0.1s;
    transition: 0.1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.w-button+.r-button {
    margin-left: 10px;
}

.w-button:focus,
.w-button:hover {
    color: #409EFF;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.w-button:active {
    color: #3a8ee6;
    border-color: #3a8ee6;
    outline: 0;
}

.w-button.is-disabled,
.w-button.is-disabled:focus,
.w-button.is-disabled:hover {
    color: #c0c4cc;
    cursor: not-allowed;
    background-image: none;
    background-color: #fff;
    border-color: #ebeef5;
}

.w-button--primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.w-button--primary:focus,
.w-button--primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}

.w-button--primary.is-disabled,
.w-button--primary.is-disabled:active,
.w-button--primary.is-disabled:focus,
.w-button--primary.is-disabled:hover {
    color: #fff;
    background-color: #a0cfff;
    border-color: #a0cfff;
}

.w-button--success {
    color: #fff;
    background-color: #67c23a;
    border-color: #67c23a;
}

.w-button--success:focus,
.w-button--success:hover {
    background: #85ce61;
    border-color: #85ce61;
    color: #fff;
}

.w-button--success.is-active,
.w-button--success:active {
    background: #5daf34;
    border-color: #5daf34;
    color: #fff;
}

.w-button--success:active {
    outline: 0;
}

.w-button--success.is-disabled,
.w-button--success.is-disabled:active,
.w-button--success.is-disabled:focus,
.w-button--success.is-disabled:hover {
    color: #fff;
    background-color: #b3e19d;
    border-color: #b3e19d;
}

.w-button--warning {
    color: #fff;
    background-color: #e6a23c;
    border-color: #e6a23c;
}

.w-button--warning:focus,
.w-button--warning:hover {
    background: #ebb563;
    border-color: #ebb563;
    color: #fff;
}

.w-button--warning.is-active,
.w-button--warning:active {
    background: #cf9236;
    border-color: #cf9236;
    color: #fff;
}

.w-button--warning:active {
    outline: 0;
}

.w-button--warning.is-disabled,
.w-button--warning.is-disabled:active,
.w-button--warning.is-disabled:focus,
.w-button--warning.is-disabled:hover {
    color: #fff;
    background-color: #f3d19e;
    border-color: #f3d19e;
}

.w-button--danger {
    color: #fff;
    background-color: #f56c6c;
    border-color: #f56c6c;
}

.w-button--danger:focus,
.w-button--danger:hover {
    background: #f78989;
    border-color: #f78989;
    color: #fff;
}

.w-button--danger.is-active,
.w-button--danger:active {
    background: #dd6161;
    border-color: #dd6161;
    color: #fff;
}

.w-button--danger:active {
    outline: 0;
}

.w-button--danger.is-disabled,
.w-button--danger.is-disabled:active,
.w-button--danger.is-disabled:focus,
.w-button--danger.is-disabled:hover {
    color: #fff;
    background-color: #fab6b6;
    border-color: #fab6b6;
}

.w-button--info {
    color: #fff;
    background-color: #909399;
    border-color: #909399;
}

.w-button--info:focus,
.w-button--info:hover {
    background: #a6a9ad;
    border-color: #a6a9ad;
    color: #fff;
}

.w-button--info.is-active,
.w-button--info:active {
    background: #82848a;
    border-color: #82848a;
    color: #fff;
}

.w-button--info:active {
    outline: 0;
}

.w-button--info.is-disabled,
.w-button--info.is-disabled:active,
.w-button--info.is-disabled:focus,
.w-button--info.is-disabled:hover {
    color: #fff;
    background-color: #c8c9cc;
    border-color: #c8c9cc;
}


/**圆角**/

.w-button.is-round {
    border-radius: 20px;
    padding: 12px 23px;
}


/**size**/

.w-button--medium {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.w-button--mini,
.w-button--small {
    font-size: 12px;
    border-radius: 3px;
}

.w-button--small {
    padding: 9px 15px;
    font-size: 12px;
    border-radius: 3px;
}

.w-button--mini {
    padding: 7px 15px;
    font-size: 12px;
    border-radius: 3px;
}

.w-button::-moz-focus-inner {
    border: 0;
}